package com.lengyu.iottransfer.gateway.entity;

import com.lengyu.iottransfer.gateway.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author liuyu
 * @since 2023-11-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="DeviceTransfer对象", description="")
public class DeviceTransfer extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "编号")
    private String code;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "第三方平台名称")
    private String thirdPlatCode;

    @ApiModelProperty(value = "第三方平台对应的设备类型")
    private String thirdPlatProductCode;

    @ApiModelProperty(value = "第三方平台对应的设备型号")
    private String thirdPlatDeviceId;

    @ApiModelProperty(value = "用电采集倍率")
    private BigDecimal elecMultiply;

    @ApiModelProperty(value = "设备网关发送topic")
    private String gatewaySendTopic;

    @ApiModelProperty(value = "设备网关接收topic")
    private String gatewayReceiveTopic;

    @ApiModelProperty(value = "设备类型")
    private String type;

    @ApiModelProperty(value = "备注")
    private String beizhu;

    @ApiModelProperty(value = "设备地址")
    private String addr;

    @ApiModelProperty(value = "基本数值//在取得数据的基础上加上基本数据")
    private BigDecimal baseValue;
}
